﻿<Window x:Class="AirlinePilotAcademy_WPF.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="APA Administrator" Opacity="0.8" Height="525" Width="525" WindowStartupLocation="CenterScreen" WindowStyle="ToolWindow" Icon="Images/ApaIcon.jpg" >
    <Window.Background>
        <ImageBrush ImageSource="Images/Background.png"/>
    </Window.Background>
    <Grid>
        <Grid.Background>
            <ImageBrush/>
        </Grid.Background>
        <Grid Opacity="0.8" HorizontalAlignment="Left" Height="95" VerticalAlignment="Top" Width="452" Margin="37,10,0,0">
            <Grid.Background>
                <ImageBrush ImageSource="Images/Panel.png"/>
            </Grid.Background>
            <Label Content="airline pilot academy" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="Silver" FontWeight="SemiBold" FontFamily="Papyrus" FontSize="30"/>
        </Grid>
        <Grid HorizontalAlignment="Left" Height="361" Margin="37,105,0,0" VerticalAlignment="Top" Width="452" Opacity="0.8">
            <Grid.Background>
                <ImageBrush ImageSource="Images/MainPanel.png"/>
            </Grid.Background>
            
            <Label Content="Usuario" HorizontalAlignment="Left" Margin="83,87,0,0" VerticalAlignment="Top" Foreground="White" FontWeight="Bold" RenderTransformOrigin="0.528,0.923"/>
            <Label Content="Contraseña" HorizontalAlignment="Left" Margin="63,151,0,0" VerticalAlignment="Top" Foreground="White" FontWeight="Bold"/>
            <TextBox Name="usernameTB" HorizontalAlignment="Left" Height="35" Margin="167,78,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" FontSize="14" MaxLength="15">
                <TextBox.CommandBindings>
                    <CommandBinding Command="ApplicationCommands.Paste" CanExecute="CommandBinding_CanExecute_1" />
                </TextBox.CommandBindings>
            </TextBox>
            <PasswordBox Name="passwordTB" HorizontalAlignment="Left" Margin="167,142,0,0" VerticalAlignment="Top" Width="120" Height="35" FontSize="14" MaxLength="15">
                <PasswordBox.CommandBindings>
                    <CommandBinding Command="ApplicationCommands.Paste" CanExecute="CommandBinding_CanExecute_1">    
                    </CommandBinding>
                    <CommandBinding Command="ApplicationCommands.Copy" CanExecute="CommandBinding_CanExecute_2" ></CommandBinding>
                </PasswordBox.CommandBindings>
            </PasswordBox>
            <Button Name="LoginB" IsDefault="True" Content="Ingresar" HorizontalAlignment="Left" Margin="83,260,0,0" VerticalAlignment="Top" Width="75" Height="44" Background="#FF87B42C" BorderBrush="Black" BorderThickness="1" FontSize="22" FontFamily="Tiranti Solid LET Plain" FontWeight="Bold" Click="LoginB_Click"/>
            <Button Name="CancelB"   Content="Cancelar" HorizontalAlignment="Left" Margin="228,260,0,0" VerticalAlignment="Top" Width="75" Height="44" Background="#FF87B42C" FontSize="22" FontFamily="Tiranti Solid LET Plain" FontWeight="Bold" Click="CancelB_Click"/>
            <Label Content="Login" HorizontalAlignment="Left" Margin="350,0,0,0" VerticalAlignment="Top" Foreground="#FF87B42C" FontFamily="Kunstler Script" FontSize="42" FontWeight="ExtraBold" Width="102"/>
            <Label Content="" Name="messageL" HorizontalAlignment="Left" Margin="167,208,0,0" VerticalAlignment="Top" Foreground="Red"/>
        </Grid>


    </Grid>
</Window>
